export const IndexRouter = reactive([
  {
    path: '/',
    name: 'Home',
    redirect: '/dashboard', // 重定向,当浏览器匹配到 / 路径,则重定向到 /dashboard 路径
    component: () => import('@/layout/index.vue'),
    children: [
      {
        path: '/dashboard',
        name: 'Dashboard',
        component: () => import('@/views/dashboard/index.vue'),
        meta: {
          title: '首页',
          icon: 'el-icon-s-home',
          hidden: false
        }
      }
    ]
  }
])
